import type { HotResult } from '@/types/hot';
import http from '@/utils/http';

export const getHotByType = (url: string, prarms?: object) => {

    return http<HotResult>({
        method: 'GET',
        url: url,
        data: prarms
    })
}